package com.kuizii.discovery.client;

import org.springframework.cloud.client.ServiceInstance;
import org.springframework.cloud.client.discovery.DiscoveryClient;

import java.util.List;

public class LiteDiscoveryClient implements DiscoveryClient {
    public LiteDiscoveryClient(){
        //todo 去拉取其它节点的服务列表
    }
    @Override
    public String description() {
        return "Glad you use lite discovery client!";
    }

    @Override
    public List<ServiceInstance> getInstances(String serviceId) {
        return null;
    }

    @Override
    public List<String> getServices() {
        return null;
    }
}
